ansible/configs/ansible-provisioner/README.adoc | ●●●●● patch | view | raw | blame | history | |
ansible/configs/ocp-workshop/mgr_users.yml | ●●●●● patch | view | raw | blame | history | |
ansible/roles/opentlc-integration/tasks/git_repos.yml | ●●●●● patch | view | raw | blame | history |
ansible/configs/ansible-provisioner/README.adoc
@@ -49,7 +49,7 @@ ---- For managing users on the bastion, you can override the `mgr_users` variable. The default is located in `{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/mgr_users.yml`, and looks like : For managing users on the ansible provisioner, you can override the `mgr_users` variable. The default is located in `{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/mgr_users.yml`, and looks like : .Default mgr_users.yml [source,yaml] ansible/configs/ocp-workshop/mgr_users.yml
@@ -2,6 +2,5 @@ mgr_users: - name: opentlc-mgr home: /home/opentlc-mgr open_admin: false authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4OojwKH74UWVOY92y87Tb/b56CMJoWbz2gyEYsr3geOc2z/n1pXMwPfiC2KT7rALZFHofc+x6vfUi6px5uTm06jXa78S7UB3MX56U3RUd8XF3svkpDzql1gLRbPIgL1h0C7sWHfr0K2LG479i0nPt/X+tjfsAmT3nWj5PVMqSLFfKrOs6B7dzsqAcQPInYIM+Pqm/pXk+Tjc7cfExur2oMdzx1DnF9mJaj1XTnMsR81h5ciR2ogXUuns0r6+HmsHzdr1I1sDUtd/sEVu3STXUPR8oDbXBsb41O5ek6E9iacBJ327G3/1SWwuLoJsjZM0ize+iq3HpT1NqtOW6YBLR opentlc-mgr@inf00-mwl.opentlc.com ansible/roles/opentlc-integration/tasks/git_repos.yml
@@ -78,34 +78,3 @@ - "{{ mgr_users }}" - git_repos - skip_missing: true - name: Check if OPEN_Admin.tar.gz repo exists in the current dir (manual upload) delegate_to: localhost stat: path: "{{ ANSIBLE_REPO_PATH }}/OPEN_Admin.tar.gz" register: openadmin_archive become: false - name: Copy and unarchive OPEN_Admin.tar.gz repo from local. Do not copy if already present remotely. unarchive: src: "{{ ANSIBLE_REPO_PATH }}/OPEN_Admin.tar.gz" dest: "{{ item.home }}/" creates: "{{ item.home }}/OPEN_Admin" when: - openadmin_archive.stat.exists - item.open_admin is defined - item.open_admin == True with_items: "{{ mgr_users }}" - name: Set permissions for directories OPEN_Admin file: path: "{{ item.home }}/OPEN_Admin" state: directory owner: "{{ item.name }}" recurse: yes group: "{{ item.name }}" mode: 0770 when: - item.open_admin is defined - item.open_admin == True with_items: "{{ mgr_users }}"