| | |
| | | HEADER_Content-Type: "application/json" |
| | | status_code: 200, 201 |
| | | when: tower_run == 'true' |
| | | |
| | | |
| | | - name: customizization entry point for labs |
| | | hosts: control_nodes |
| | | gather_facts: false |
| | |
| | | repo: https://github.com/tonykay/bad-ansible.git |
| | | dest: /tmp |
| | | |
| | | - name: create our own ansible agnostic deployer inventory |
| | | - name: create our own ansible agnostic deployer inventory |
| | | hosts: localhost |
| | | connection: local |
| | | gather_facts: false |
| | |
| | | - pre_infrastructure |
| | | - generate_env_keys |
| | | |
| | | tasks: |
| | | - name: get rid of linklight deployers hostvars |
| | | tasks: |
| | | - name: get rid of linklight deployers hostvars |
| | | set_fact: |
| | | hostvars: "" |
| | | |
| | |
| | | # var: item |
| | | with_items: "{{ ec2_facts['instances'] }}" |
| | | verbosity: 2 |
| | | |
| | | |
| | | - name: print our bastion when found |
| | | debug: |
| | | msg: "found BASTION {{ item.id }}" |
| | |
| | | |
| | | - name: Run infra-ec2-create-inventory Role |
| | | include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/infra-ec2-create-inventory" |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles-infra/infra-ec2-create-inventory" |
| | | |
| | | - name: Run Common SSH Config Generator Role |
| | | include_role: |
| | | name: "{{ANSIBLE_REPO_PATH}}/roles/infra-common-ssh-config-generate" |
| | | |
| | | - name: ssh workaround thing |
| | | hosts: all |
| | | hosts: all |
| | | connection: local |
| | | become: false |
| | | vars_files: |
| | |
| | | - name: set facts for remote access |
| | | set_fact: |
| | | ansible_ssh_extra_args: "{{ ansible_ssh_extra_args|d() }} -F {{ ANSIBLE_REPO_PATH }}/workdir/{{ env_type }}_{{ guid }}_ssh_conf" |
| | | |