sborenst
2017-10-16 8d0c6333a532fe863cf8ffc0aa4f34e091ead00d
added last minute ipa fix
1 files modified
9 ■■■■■ changed files
ansible/configs/ans-tower-lab/pre_software.yml 9 ●●●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/pre_software.yml
@@ -66,6 +66,15 @@
    - name: Register bastion with IPA
      shell: "/usr/sbin/ipa-client-install --domain=OPENTLC.COM -w {{ipa_host_password}} -N -U --mkhomedir --no-dns-sshfp --hostname={{bastion_public_dns_chomped}}"
      when: "install_ipa_client"
    - name: Register bastion with IPA
      shell: "/usr/sbin/ipa-client-install --domain=OPENTLC.COM -w {{ipa_host_password}} -N -U --mkhomedir --no-dns-sshfp --hostname={{bastion_public_dns_chomped}}"
      when: "install_ipa_client"
    - lineinfile:
      path: /etc/sudoers.d/opentlc-sudoers
      state: present
      create: true
      line: '%opentlc-access ALL=(ALL)       NOPASSWD: ALL'
      validate: '/usr/sbin/visudo -cf %s'
- name: Place Tower License from env_secret_vars on bastion
  hosts: "{{ ('tag_' ~ env_type ~ '_' ~ guid ~ '_bastion') | replace('-', '_') }}"