14 lines
491 B
YAML
14 lines
491 B
YAML
- name: Write pacman.conf
|
|
copy: src=pacman.conf dest=/etc/pacman.conf
|
|
- name: Write mirrorlist
|
|
copy: src=mirrorlist dest=/etc/pacman.d/mirrorlist
|
|
- name: Copy Custom Repo GPG key
|
|
copy: src=repo-gpg.asc dest=/etc/pacman.d/repo-gpg.asc
|
|
register: repo_gpg
|
|
- name: Import repo gpg key
|
|
action: command /usr/bin/pacman-key --add /etc/pacman.d/repo-gpg.asc
|
|
when: repo_gpg.changed
|
|
- name: Sign repo gpg key
|
|
action: command /usr/bin/pacman-key --lsign CEEFA661
|
|
when: repo_gpg.changed
|