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
|
||||
sudo: True
|
||||
|
||||
tasks:
|
||||
- name: deploy some editors
|
||||
dnf: pkg={{ item }} state=present
|
||||
- name: Deploy some editors
|
||||
dnf:
|
||||
pkg: '{{ item }}'
|
||||
state: 'present'
|
||||
with_items:
|
||||
- emacs
|
||||
- nano
|
||||
- vim
|
||||
- 'emacs'
|
||||
- 'nano'
|
||||
- 'vim'
|
||||
|
@ -1,16 +1,19 @@
|
||||
---
|
||||
|
||||
- hosts: templatevms
|
||||
sudo: True
|
||||
tasks:
|
||||
- name: set up service
|
||||
- name: Set up service
|
||||
template:
|
||||
src: wakeup.service.j2
|
||||
dest: /etc/systemd/system/wakeup.service
|
||||
src: 'wakeup.service.j2'
|
||||
dest: '/etc/systemd/system/wakeup.service'
|
||||
mode: 0644
|
||||
- name: activate service on next boot
|
||||
service: name=wakeup enabled=True
|
||||
- name: copy shell script
|
||||
- name: Activate service on next boot
|
||||
service:
|
||||
name: 'wakeup'
|
||||
enabled: True
|
||||
- name: Copy shell script
|
||||
copy:
|
||||
src: wakeup.sh
|
||||
dest: /usr/local/bin/wakeup.sh
|
||||
src: 'wakeup.sh'
|
||||
dest: '/usr/local/bin/wakeup.sh'
|
||||
mode: 0755
|
||||
|
Loading…
x
Reference in New Issue
Block a user