mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
a5a260d9ed
commit
edf96e2bd6
@ -69,7 +69,7 @@ datacenter:
|
||||
ansible_become_password: l4c1j4yd33Du5lo
|
||||
rhasspy:
|
||||
hosts:
|
||||
192.168.77.16[6:7]
|
||||
192.168.77.224
|
||||
vars:
|
||||
ansible_user: jd
|
||||
ansible_ssh_pass: q
|
||||
|
@ -1,7 +1,6 @@
|
||||
- hosts: rhasspy
|
||||
name: Install rhasspy
|
||||
become: true
|
||||
become_user: root
|
||||
tasks:
|
||||
- name: Set a hostname
|
||||
ansible.builtin.hostname:
|
||||
@ -113,7 +112,7 @@
|
||||
mode: '0755'
|
||||
- name: Upload config
|
||||
ansible.builtin.copy:
|
||||
src: /etc/ansible/playbooks/files/conf/rhasspy/profile.json
|
||||
src: conf/rhasspy/profile.json
|
||||
dest: /home/jd/.config/rhasspy/profiles/en/profile.json
|
||||
owner: jd
|
||||
group: jd
|
||||
@ -132,9 +131,9 @@
|
||||
name: jd
|
||||
append: true
|
||||
groups: docker
|
||||
- name: Install pip modules
|
||||
ansible.builtin.pip:
|
||||
name: docker
|
||||
# - name: Install pip modules
|
||||
# ansible.builtin.pip:
|
||||
# name: docker
|
||||
|
||||
- name: Pull image
|
||||
community.docker.docker_image:
|
||||
|
@ -91,6 +91,7 @@
|
||||
ansible.builtin.service:
|
||||
name: mqtt_srv.service
|
||||
state: restarted
|
||||
enabled: true
|
||||
when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router']
|
||||
become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user