mirror of
https://github.com/ben-grande/qusal.git
synced 2025-02-24 08:49:54 -05:00

- Document preferred method for socket use depending on use case; - Fix Github web-flow key; - Standardize naming of services; - Use sys-ssh in ansible formula; - Start services conditionally with Qubes Service and evaluated by systemd ConditionPathExists= instead of installing on a per qube basis with rc.local scripts; - Change Qusal services to "qusal-" prefix instead of "qubes-" prefix. Fixes: https://github.com/ben-grande/qusal/issues/80 Fixes: https://github.com/ben-grande/qusal/issues/79
39 lines
723 B
Markdown
39 lines
723 B
Markdown
# 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
|
|
```
|
|
|
|
- State
|
|
<!-- pkg:begin:post-install -->
|
|
```sh
|
|
sudo qubesctl state.apply ansible.create
|
|
sudo qubesctl --skip-dom0 --targets=tpl-ansible state.apply ansible.install
|
|
```
|
|
<!-- pkg:end:post-install -->
|
|
|
|
## Usage
|
|
|
|
From the control node `ansible`, test connection to the managed node
|
|
`ansible-minion`:
|
|
```sh
|
|
ssh -p 1840 user@127.0.0.1
|
|
```
|