zuul-jobs/roles/add-launchpad-credentials/tasks/main.yaml
Sorin Sbarnea 086d1a9284 More E208 fixes
Change-Id: Iddda539a24e03ae33ef5e37630f98a7268f18dbe
2020-11-03 10:04:27 +00:00

18 lines
316 B
YAML

- name: Ensure launchpadlib directory
file:
path: ~/.launchpadlib
state: directory
mode: 0700
- name: Write credentials
template:
dest: ~/.launchpadlib/creds
mode: 0600
src: creds.j2
- name: Install launchpadlib
package:
name: python-launchpadlib
state: present
become: yes