Newer
Older
# CoreOS ships without Python installed
register: need_bootstrap
changed_when: false
tags:
- facts
Sylvain Chateau
committed
- name: Force binaries directory for Container Linux by CoreOS and Flatcar
set_fact:
bin_dir: "/opt/bin"
tags:
- facts
script: bootstrap.sh
environment: "{{ proxy_env }}"
when:
- need_bootstrap.rc != 0
- name: Set the ansible_python_interpreter fact
set_fact:
ansible_python_interpreter: "{{ bin_dir }}/python"
tags:
- facts
systemd:
name: locksmithd.service
masked: true
state: stopped
when:
- coreos_locksmithd_disable