I have the following tasks:
- copy: src={{ansible_fqdn}}.crt dest=/etc/ssl/certs mode=0440
group=ssl-cert
when: ssl is defined
- copy: src={{ansible_fqdn}}.key dest=/etc/ssl/private mode=0440
group=ssl-cert
when: ssl is defined
I have two separate Digital Ocean accounts, and am using the credentials
for one that is business-related. But ansible_fqdn in this play is set
to
thewordnerd.info, my personal domain.
I've run setup on the host. Interestingly enough, the hostname is
correct, but ansible_fqdn and ansible_domain reflect the
thewordnerd.info domain. I'm positive Ansible is connecting to the right
host based on the IP returned in its output.
I've grepped through this repository multiple times. There is no
instance of
thewordnerd.info in the business-related repository, on the
business-related DO account. When I log into the host, things look fine
there too.
So, thoughts on where this separate account is getting
thewordnerd.info
as its ansible_fqdn? This is Ansible 1.5.
Thanks.