summaryrefslogtreecommitdiff
path: root/dan
diff options
context:
space:
mode:
Diffstat (limited to 'dan')
-rw-r--r--dan/ele-ap.yml24
-rw-r--r--dan/ele-dolmetsch-ctl.yml6
-rw-r--r--dan/ele-dolmetsch-raspi.yml13
-rw-r--r--dan/ele-router.yml6
-rw-r--r--dan/ele-ups.yml23
-rw-r--r--dan/info-beamer.yml10
6 files changed, 42 insertions, 40 deletions
diff --git a/dan/ele-ap.yml b/dan/ele-ap.yml
index a64ed8a4..7230dea6 100644
--- a/dan/ele-ap.yml
+++ b/dan/ele-ap.yml
@@ -1,18 +1,18 @@
---
-- hosts: ele-ap
+- name: Basic Setup
+ hosts: ele-ap
connection: local
roles:
- - role: openwrt/image
- delegate_to: localhost
+ - role: openwrt/image
post_tasks:
- - name: copy image to target
- command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'"
+ - name: copy image to target
+ command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'"
- - name: run sysupgrade
- command: "ssh '{{ inventory_hostname }}' sysupgrade -n '/tmp/ansible-upgrade.img'"
- ignore_errors: true
- failed_when: false
- register: sysupgrade_result
+ - name: run sysupgrade
+ command: "ssh '{{ inventory_hostname }}' sysupgrade -n '/tmp/ansible-upgrade.img'"
+ ignore_errors: true
+ failed_when: false
+ register: sysupgrade_result
- - debug:
- var: sysupgrade_result.stdout
+ - debug:
+ var: sysupgrade_result.stdout
diff --git a/dan/ele-dolmetsch-ctl.yml b/dan/ele-dolmetsch-ctl.yml
index d16cfbdb..717def3f 100644
--- a/dan/ele-dolmetsch-ctl.yml
+++ b/dan/ele-dolmetsch-ctl.yml
@@ -1,6 +1,6 @@
---
-- hosts: ele-dolmetsch-ctl
+- name: Basic Setup
+ hosts: ele-dolmetsch-ctl
connection: local
roles:
- - role: openwrt/image
- delegate_to: localhost
+ - role: openwrt/image
diff --git a/dan/ele-dolmetsch-raspi.yml b/dan/ele-dolmetsch-raspi.yml
index 5b1068e0..daf4e3b4 100644
--- a/dan/ele-dolmetsch-raspi.yml
+++ b/dan/ele-dolmetsch-raspi.yml
@@ -1,8 +1,9 @@
---
-- hosts: ele-dolmetsch-raspi
+- name: Basic Setup
+ hosts: ele-dolmetsch-raspi
roles:
- - role: slim/raspbian
- - role: base
- - role: sshd
- - role: zsh
- - role: elevate/dolmetsch-raspi
+ - role: slim/raspbian
+ - role: base
+ - role: sshd
+ - role: zsh
+ - role: elevate/dolmetsch-raspi
diff --git a/dan/ele-router.yml b/dan/ele-router.yml
index 4f3d1ceb..098b82b3 100644
--- a/dan/ele-router.yml
+++ b/dan/ele-router.yml
@@ -1,6 +1,6 @@
---
-- hosts: ele-router
+- name: Basic Setup
+ hosts: ele-router
connection: local
roles:
- - role: openwrt/image
- delegate_to: localhost
+ - role: openwrt/image
diff --git a/dan/ele-ups.yml b/dan/ele-ups.yml
index 7843c1ff..fa780eaf 100644
--- a/dan/ele-ups.yml
+++ b/dan/ele-ups.yml
@@ -1,17 +1,18 @@
---
-- hosts: ele-ups
+- name: Basic Setup
+ hosts: ele-ups
connection: local
roles:
- - role: openwrt/image
+ - role: openwrt/image
# post_tasks:
- # - name: copy image to target
- # command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'"
+ # - name: copy image to target
+ # command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'"
- # - name: run sysupgrade
- # command: "ssh '{{ inventory_hostname }}' sysupgrade -n '/tmp/ansible-upgrade.img'"
- # ignore_errors: true
- # failed_when: false
- # register: sysupgrade_result
+ # - name: run sysupgrade
+ # command: "ssh '{{ inventory_hostname }}' sysupgrade -n '/tmp/ansible-upgrade.img'"
+ # ignore_errors: true
+ # failed_when: false
+ # register: sysupgrade_result
- # - debug:
- # var: sysupgrade_result.stdout
+ # - debug:
+ # var: sysupgrade_result.stdout
diff --git a/dan/info-beamer.yml b/dan/info-beamer.yml
index 3c9f65fe..272a2783 100644
--- a/dan/info-beamer.yml
+++ b/dan/info-beamer.yml
@@ -5,10 +5,10 @@
gather_facts: no
vars_prompt:
- - name: info_beamer_base_path
- prompt: Where is the SD-Card mounted to?
- default: ""
- private: no
+ - name: info_beamer_base_path
+ prompt: Where is the SD-Card mounted to?
+ default: ""
+ private: no
roles:
- - info-beamer/config
+ - role: info-beamer/config