zuul-jobs/roles/add-launchpad-credentials/tasks/main.yaml
Doug Hellmann 879a5bafa8 fix the template instruction for writing launchpadlib/creds
Use "dest" not "path" to specify the output location.

Change-Id: I28079d34bfc2ffbfbc8ac66537435acc27d9d30a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-16 16:41:05 -04:00

17 lines
301 B
YAML

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