Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:0.5
-
Epic Link:
-
Sprint:Spring 7 : 13 Apr to 24 Apr
Description
Upon running ansible-playbook main.yml on a control node, I get this error:
Ansible ec2-user $ ansible-playbook main.yml
ERROR! conflicting action statements: fail, display_skipped_hosts
The error appears to be in '/home/ec2-user/appstore-playbooks/Ansible/roles/deployEC2/tasks/main.yml': line 27, column 4, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: View all existing Ec2 instances
^ here
The control node appears to be correctly configured as I was able to run:
ansible-playbook -e 'vars_file=[redacted].yml ec2_name=Ansible AWS_REGION=us-east-1' just_the_facts.yml
and get the expected output.
ansible --version returns:
ansible 2.9.6
config file = /home/ec2-user/appstore-playbooks/Ansible/ansible.cfg
configured module search path = ['/home/ec2-user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.7.6 (default, Feb 26 2020, 20:54:15) [GCC 7.3.1 20180712 (Red Hat 7.3.1-6)]
Attachments
Activity
Assignee | Chester Dias [ cdias1 ] |
Resolution | Done [ 10000 ] | |
Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Assignee | Chester Dias [ cdias1 ] |
Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
Assignee | Ann Loraine [ aloraine ] | Chester Dias [ cdias1 ] |
Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
Assignee | Chester Dias [ cdias1 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Status | To-Do [ 10305 ] | In Progress [ 3 ] |
Status | First Level Review in Progress [ 10301 ] | To-Do [ 10305 ] |
Assignee | Chester Dias [ cdias1 ] |
Assignee | Chester Dias [ cdias1 ] |
Assignee | Ann Loraine [ aloraine ] | Chester Dias [ cdias1 ] |
Assignee | Ann Loraine [ aloraine ] |
Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
Assignee | Chester Dias [ cdias1 ] |
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Status | To-Do [ 10305 ] | In Progress [ 3 ] |
Rank | Ranked higher |
Field | Original Value | New Value |
---|---|---|
Epic Link | IGBF-1388 [ 17463 ] |