first commit
This commit is contained in:
17
pi-init.yaml
Normal file
17
pi-init.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Ansible Test
|
||||
hosts: all
|
||||
become: yes
|
||||
|
||||
# this is meant just as a tiny playbook to run after the public key is injected with jenkins
|
||||
tasks:
|
||||
# Check System Architecture
|
||||
- name: Check CPU Arch
|
||||
shell: "dpkg --print-architecture"
|
||||
register: cpu_architecture_output
|
||||
|
||||
- name: Display cpu_architecture_output variable
|
||||
debug:
|
||||
msg: "{{ cpu_architecture_output.stdout_lines[0] }}"
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user