prakhar1985
2020-02-27 e843cc87fbea06a457b11afbaa72ec20e6a0650c
Role added to copy tower license (#1198)

1 files added
1 files modified
10 ■■■■■ changed files
ansible/configs/ansible-tower-implementation/post_software.yml 2 ●●●●● patch | view | raw | blame | history
ansible/roles/tower-license-copy/tasks/main.yml 8 ●●●●● patch | view | raw | blame | history
ansible/configs/ansible-tower-implementation/post_software.yml
@@ -16,6 +16,8 @@
    - import_role:
        name: "bastion-opentlc-ipa"
      when: install_ipa_client|bool
    - import_role:
        name: "tower-license-copy"
    # sssd bug, fixed by restart
    - name: restart sssd
ansible/roles/tower-license-copy/tasks/main.yml
New file
@@ -0,0 +1,8 @@
- name: Copy Tower License File
  copy:
    content: "{{ tower_license | from_json }}"
    dest: /root/license.txt
  tags:
      - tower-license-copy