Skip to content

Commit

Permalink
Ref #13 ensure python present on target (alpine) during bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Nov 12, 2023
1 parent 70e9a94 commit 3382009
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/playbooks/servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@
#
- hosts: servers
become: true
gather_facts: false
tasks:
- name: Debug
ansible.builtin.debug:
msg: "Running servers playbook"


- name: Install python
# TODO: Consider installing python3 during the alpine netboot image build instead of here
raw: test -e /usr/bin/python3 || apk add python3
changed_when: false

- name: Configure NTP client for time synchronization
command: setup-ntp busybox

Expand Down

0 comments on commit 3382009

Please sign in to comment.