Guillaume Coré
2020-03-11 1d970fbaa4bd88c9d094d9587db59fdf9cd0239a
tools/archive/configs/linklight-networking-allcisco/post_infra.yml
@@ -27,7 +27,7 @@
      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
@@ -39,7 +39,7 @@
      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
@@ -52,8 +52,8 @@
    - pre_infrastructure
    - generate_env_keys
  tasks:
  - name: get rid of linklight deployers hostvars
  tasks:
  - name: get rid of linklight deployers hostvars
    set_fact:
      hostvars: ""
@@ -73,7 +73,7 @@
        #  var: item
    with_items: "{{ ec2_facts['instances'] }}"
    verbosity: 2
  - name: print our bastion when found
    debug:
      msg: "found BASTION {{ item.id }}"
@@ -104,14 +104,14 @@
  - 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:
@@ -125,4 +125,3 @@
  - 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"