zuul-jobs/roles/add-launchpad-credentials/tasks/main.yaml
Monty Taylor 47d1b3a715
Add roles for adding and removing launchpadlib credentials
Change-Id: I5bf80922026d9e68a396effe89bb2d6ea5cbdec0
2017-08-30 18:53:21 -05:00

17 lines
301 B
YAML

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