X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=automation%2Fansible%2Froles%2Fcommon%2Ftasks%2Fmain.yml;h=460325e8ca31dc899997beda9b41ff658cf9399c;hb=5e186c3fcc83f2261daf70ee352b38a3774fdbb8;hp=6e4253e55e9f31936a7b8d7e4f2c670152f3f38d;hpb=a517d31d04c7c14f43e3600f393323149c8d9cf6;p=lttng-ci.git diff --git a/automation/ansible/roles/common/tasks/main.yml b/automation/ansible/roles/common/tasks/main.yml index 6e4253e..460325e 100644 --- a/automation/ansible/roles/common/tasks/main.yml +++ b/automation/ansible/roles/common/tasks/main.yml @@ -18,12 +18,34 @@ - include: setup-Alpine.yml when: ansible_os_family == 'Alpine' +- include: setup-Suse.yml + when: ansible_os_family == 'Suse' + +- name: Set up authorized_keys for the root user + authorized_key: + user: 'root' + key: '{{ item }}' + with_file: + - public_keys/mjeanson.pub + - public_keys/joraj.pub + - public_keys/jgalar.pub + - public_keys/frdeso.pub + - public_keys/mdesnoyers.pub + - public_keys/smarchi.pub + - public_keys/pproulx.pub + - name: Remove ubuntu user user: name: ubuntu state: absent remove: yes +- name: Remove debian user + user: + name: debian + state: absent + remove: yes + - name: Create jenkins user user: name: 'jenkins'