fix: ansible references legacy zsh state

Fixes: https://github.com/ben-grande/qusal/issues/78
This commit is contained in:
Ben Grande 2024-06-25 09:17:16 +02:00
parent 4facf458b7
commit 3880a35cfa
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
4 changed files with 8 additions and 3 deletions

View File

@ -26,8 +26,8 @@ sudo qubesctl top.disable ansible
```sh
sudo qubesctl state.apply ansible.create
sudo qubesctl --skip-dom0 --targets=tpl-ansible state.apply ansible.install
sudo qubesctl --skip-dom0 --targets=ansible state.apply ansible.configure,zsh.touch-zshrc
sudo qubesctl --skip-dom0 --targets=ansible-minion state.apply ansible.configure-minion,zsh.touch-zshrc
sudo qubesctl --skip-dom0 --targets=ansible state.apply ansible.configure
sudo qubesctl --skip-dom0 --targets=ansible-minion state.apply ansible.configure-minion
```
<!-- pkg:end:post-install -->

View File

@ -6,6 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% if grains['nodename'] != 'dom0' -%}
include:
- utils.tools.zsh.touch-zshrc
"{{ slsdotpath }}-minion-start-sshd":
file.managed:
- name: /rw/config/rc.local.d/50-ansible.rc

View File

@ -6,6 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{% if grains['nodename'] != 'dom0' -%}
include:
- utils.tools.zsh.touch-zshrc
"{{ slsdotpath }}-autostart-ssh-over-qrexec":
file.managed:
- name: /rw/config/rc.local.d/50-ansible.rc

View File

@ -11,7 +11,6 @@ base:
'tpl-ansible':
- ansible.install
'ansible':
- zsh.touch-zshrc
- ansible.configure
'ansible-minion':
- ansible.configure-minion