43 lines
1.6 KiB
YAML
43 lines
1.6 KiB
YAML
- name: Nginx
|
|
hosts: pi
|
|
become: true
|
|
vars:
|
|
uplink_password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
34333036613062353533333364656363343539376463343762663637353634313533353164376262
|
|
3931346362356333616234336635326330333836623932390a646264393563633234393863303730
|
|
32313462313063613866653939313431356434373962613738653835316461636633346139326166
|
|
3232616234353765370a303731346238313131666263613462656633363730383437626130653564
|
|
31656261666436376236333865643532353035316634313231653333646338373636
|
|
anope_oper_password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
65386331633238633231643964613965633661633038386664326538333538356462653638633164
|
|
3032373430663534383563383865333438643263653362320a303833306237363163613235313836
|
|
35306131646163623636666234663137393564626262303933366139613262303766306534396565
|
|
6638656464616335310a363938646236313164316561303364393839663930663062386166613736
|
|
31326264663135313337393362396562663439616331386138633532343662626134
|
|
tasks:
|
|
- name: Copy services
|
|
ansible.builtin.template:
|
|
src: services.conf.j2
|
|
dest: /home/anope/services/conf
|
|
owner: anope
|
|
group: anope
|
|
mode: '0644'
|
|
|
|
- name: Copy nickserv
|
|
ansible.builtin.copy:
|
|
src: nickserv.conf
|
|
dest: /home/anope/services/conf
|
|
owner: anope
|
|
group: anope
|
|
mode: '0644'
|
|
|
|
- name: Copy modules
|
|
ansible.builtin.copy:
|
|
src: modules.conf
|
|
dest: /home/anope/services/conf
|
|
owner: anope
|
|
group: anope
|
|
mode: '0644'
|