2018-08-22 20:16:31 +00:00
|
|
|
---
|
|
|
|
- user:
|
|
|
|
name: aur_builder
|
|
|
|
group: wheel
|
2019-04-16 08:49:47 +00:00
|
|
|
uid: 998
|
2018-11-07 09:57:55 +00:00
|
|
|
tags:
|
|
|
|
- first_deployement
|
2018-08-22 20:22:38 +00:00
|
|
|
|
2018-08-22 20:16:31 +00:00
|
|
|
- lineinfile:
|
|
|
|
path: /etc/sudoers.d/11-install-aur_builder
|
2018-08-22 20:22:38 +00:00
|
|
|
state: present
|
2018-08-22 20:16:31 +00:00
|
|
|
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
|
|
|
create: yes
|
|
|
|
validate: 'visudo -cf %s'
|
2018-11-07 09:57:55 +00:00
|
|
|
tags:
|
|
|
|
- first_deployement
|
2018-08-22 20:16:31 +00:00
|
|
|
|
|
|
|
- name: Git clone ansible-aur
|
|
|
|
git:
|
|
|
|
repo: https://github.com/kewlfft/ansible-aur.git
|
|
|
|
dest: ~/.ansible/plugins/modules/aur
|
|
|
|
version: master
|
|
|
|
accept_hostkey: yes
|
2018-11-07 09:49:21 +00:00
|
|
|
become: yes
|
2018-08-22 20:16:31 +00:00
|
|
|
become_user: aur_builder
|
2018-11-07 09:57:55 +00:00
|
|
|
tags:
|
|
|
|
- first_deployement
|
2018-08-22 20:16:31 +00:00
|
|
|
|
2018-08-22 20:20:26 +00:00
|
|
|
- name: Install Yay
|
|
|
|
aur:
|
|
|
|
name: yay
|
|
|
|
use: makepkg
|
|
|
|
skip_installed: true
|
2018-08-22 20:23:45 +00:00
|
|
|
become: yes
|
2018-08-22 20:20:26 +00:00
|
|
|
become_user: aur_builder
|
2019-09-19 15:02:18 +00:00
|
|
|
|
|
|
|
- name: Install mkpasswd
|
|
|
|
aur:
|
|
|
|
name: mkpasswd
|
|
|
|
use: makepkg
|
|
|
|
skip_installed: true
|
|
|
|
become: yes
|
|
|
|
become_user: aur_builder
|
|
|
|
|