mirror of
https://github.com/Rudd-O/ansible-qubes.git
synced 2025-03-01 14:22:33 +01:00
Use YAML syntax which is better human readable.
This commit is contained in:
parent
3747abc0f9
commit
8da80e7bbf
@ -1,9 +1,14 @@
|
|||||||
|
---
|
||||||
|
|
||||||
- hosts: templatevms
|
- hosts: templatevms
|
||||||
sudo: True
|
sudo: True
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: deploy some editors
|
- name: Deploy some editors
|
||||||
dnf: pkg={{ item }} state=present
|
dnf:
|
||||||
|
pkg: '{{ item }}'
|
||||||
|
state: 'present'
|
||||||
with_items:
|
with_items:
|
||||||
- emacs
|
- 'emacs'
|
||||||
- nano
|
- 'nano'
|
||||||
- vim
|
- 'vim'
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- hosts: templatevms
|
- hosts: templatevms
|
||||||
sudo: True
|
sudo: True
|
||||||
tasks:
|
tasks:
|
||||||
- name: set up service
|
- name: Set up service
|
||||||
template:
|
template:
|
||||||
src: wakeup.service.j2
|
src: 'wakeup.service.j2'
|
||||||
dest: /etc/systemd/system/wakeup.service
|
dest: '/etc/systemd/system/wakeup.service'
|
||||||
mode: 0644
|
mode: 0644
|
||||||
- name: activate service on next boot
|
- name: Activate service on next boot
|
||||||
service: name=wakeup enabled=True
|
service:
|
||||||
- name: copy shell script
|
name: 'wakeup'
|
||||||
|
enabled: True
|
||||||
|
- name: Copy shell script
|
||||||
copy:
|
copy:
|
||||||
src: wakeup.sh
|
src: 'wakeup.sh'
|
||||||
dest: /usr/local/bin/wakeup.sh
|
dest: '/usr/local/bin/wakeup.sh'
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
Loading…
x
Reference in New Issue
Block a user