qusal/salt/ansible/README.md

39 lines
723 B
Markdown
Raw Normal View History

2023-11-13 14:33:28 +00:00
# ansible
Ansible environment in Qubes OS.
## Table of Contents
* [Description](#description)
* [Installation](#installation)
* [Usage](#usage)
## Description
Install Ansible and use it on the "ansible" app qube.
## Installation
- Top
```sh
sudo qubesctl top.enable ansible
sudo qubesctl --targets=tpl-ansible,ansible,ansible-minion state.apply
sudo qubesctl top.disable ansible
2023-11-13 14:33:28 +00:00
```
- State
<!-- pkg:begin:post-install -->
```sh
sudo qubesctl state.apply ansible.create
sudo qubesctl --skip-dom0 --targets=tpl-ansible state.apply ansible.install
2023-11-13 14:33:28 +00:00
```
<!-- pkg:end:post-install -->
## Usage
From the control node `ansible`, test connection to the managed node
2023-11-13 14:33:28 +00:00
`ansible-minion`:
```sh
ssh -p 1840 user@127.0.0.1
2023-11-13 14:33:28 +00:00
```