17 lines
258 B
YAML
17 lines
258 B
YAML
---
|
|
- hosts: server
|
|
|
|
gather_facts: no
|
|
|
|
vars_files:
|
|
- secrets.yml
|
|
|
|
pre_tasks:
|
|
- name: Use default SSH port
|
|
set_fact:
|
|
ansible_port: "{{ default_ssh_port }}"
|
|
|
|
tasks:
|
|
- name: Install python2
|
|
raw: apt-get -y install python
|