Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-at-client
Set up a persistent channel for queuing commands (using at) in Debian-like systems (client side)
https://github.com/oefenweb/ansible-at-client
ansible at client debian queue ssh ubuntu
Last synced: 15 days ago
JSON representation
Set up a persistent channel for queuing commands (using at) in Debian-like systems (client side)
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-at-client
- Owner: Oefenweb
- License: mit
- Created: 2017-10-24T19:25:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:01:31.000Z (over 1 year ago)
- Last Synced: 2024-11-22T15:22:52.233Z (3 months ago)
- Topics: ansible, at, client, debian, queue, ssh, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 76.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## at-client
[![CI](https://github.com/Oefenweb/ansible-at-client/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-at-client/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-at--client-blue.svg)](https://galaxy.ansible.com/Oefenweb/at_client/)Set up a persistent channel for queuing commands (using `at`) in Debian-like systems (client side).
#### Requirements
* `openssh-client` (will not be installed)
* `bash` (will not be installed)#### Variables
* `at_client_key_map`: [default: `[]`]: SSH key declarations
* `at_client_key_map.{n}.src`: [required]: The local path of the file to copy, can be absolute or relative (e.g. `../../../files/at/home/at/.ssh/id_rsa`)
* `at_client_key_map.{n}.dest`: [optional, default `src | basename`]: The remote path of the file to copy, relative to `/etc/at` (e.g. `id_rsa`)
* `at_client_key_map.{n}.owner`: [optional, default `root`]: The name of the user that should own the file
* `at_client_key_map.{n}.group`: [optional, default `owner`, `root`]: The name of the group that should own the file
* `at_client_key_map.{n}.mode`: [optional, default `0600`]: The mode of the file to copy* `at_client_user`: [default: `at`]: Remote user for connection
## Dependencies
None
## Recommended
* `ansible-ssh-client` ([see](https://github.com/Oefenweb/ansible-ssh-client))
* `ansible-at-server` ([see](https://github.com/Oefenweb/ansible-at-server))#### Example(s)
```yaml
---
- hosts: all
roles:
- oefenweb.at-client
vars:
at_client_key_map:
- src: ../../../files/at-client/etc/at/id_rsa
```You will be able to schedule a command on `example.com` using:
```bash
at-ssh -h example.com -i id_rsa now <