I was wrong... I changed the order and it made no difference. I also have
a similar test in another playbook that has always worked just fine.... so
still looking for info from anybody that can help me.
Reordered:
ask path: /etc/ansible/roles/ntp/tasks/main.yml:27
ok: [ansible-rhel7] => {
"ansible_hostname": "ansible-rhel7ebs"
}
TASK [ntp : debug]
***********************************************************************************************************************************************************************************************************************
task path: /etc/ansible/roles/ntp/tasks/main.yml:30
ok: [ansible-rhel7] => {
"ntp_timezone": "UTC"
}
TASK [ntp : Set timezone variable for non-UTC servers (Overriding UTC as
default)]
*******************************************************************************************************************************************************
task path: /etc/ansible/roles/ntp/tasks/main.yml:34
ok: [ansible-rhel7] => (item=agl) => {"ansible_facts": {"ntp_timezone":
"America/Denver"}, "changed": false, "item": "agl"}
ok: [ansible-rhel7] => (item=ascp) => {"ansible_facts": {"ntp_timezone":
"America/Denver"}, "changed": false, "item": "ascp"}
ok: [ansible-rhel7] => (item=dmtr) => {"ansible_facts": {"ntp_timezone":
"America/Denver"}, "changed": false, "item": "dmtr"}
ok: [ansible-rhel7] => (item=vtx) => {"ansible_facts": {"ntp_timezone":
"America/Denver"}, "changed": false, "item": "vtx"}
skipping: [ansible-rhel7] => (item=ebs) => {"changed": false, "item": "ebs"
, "skip_reason": "Conditional result was False"}
TASK [ntp : debug]
***********************************************************************************************************************************************************************************************************************
task path: /etc/ansible/roles/ntp/tasks/main.yml:45
ok: [ansible-rhel7] => {
"ntp_timezone": "America/Denver"
}
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/fcf77585-1c7b-4725-806c-87f3cb93d9ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.