Add yaourt task
This commit is contained in:
parent
8edd7fe224
commit
9a25d125c9
4 changed files with 34 additions and 0 deletions
|
@ -13,3 +13,4 @@
|
||||||
- import_tasks: tasks/i3.yml
|
- import_tasks: tasks/i3.yml
|
||||||
- import_tasks: tasks/services.yml
|
- import_tasks: tasks/services.yml
|
||||||
- import_tasks: tasks/shell.yml
|
- import_tasks: tasks/shell.yml
|
||||||
|
- import_tasks: tasks/yaourt.yml
|
||||||
|
|
33
tasks/yaourt.yml
Normal file
33
tasks/yaourt.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
- copy:
|
||||||
|
src: ./files/pacman.conf
|
||||||
|
dest: /etc/pacman.conf
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
|
- copy:
|
||||||
|
src: ./files/.yaourtrc
|
||||||
|
dest: /home/jake/.yaourtrc
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
keys:
|
||||||
|
- '8A8F901A' # Sublime Text
|
||||||
|
- 'D1483FA6C3C07136' # Tor Browser
|
||||||
|
- '9D5F1C051D146843CDA4858BDE64825E7CBC0D51' # ArchStrike
|
||||||
|
- '7448C890582975CD'
|
||||||
|
|
||||||
|
- name: "Add keys"
|
||||||
|
shell: "gpg --recv-keys {{ item }}"
|
||||||
|
with_items: "{{ keys }}"
|
||||||
|
become: jake
|
||||||
|
|
||||||
|
- name: "Add keys for root"
|
||||||
|
shell: "gpg --recv-keys {{ item }}"
|
||||||
|
with_items: "{{ keys }}"
|
||||||
|
|
||||||
|
- name: "Add keys to pacman"
|
||||||
|
shell: "pacman-key -r {{ item }}"
|
||||||
|
with_items: "{{ keys }}"
|
||||||
|
|
||||||
|
- name: "Sign keys in pacman"
|
||||||
|
shell: "pacman-key --lsign-key {{ item }}"
|
||||||
|
with_items: "{{ keys }}"
|
Loading…
Reference in a new issue