The distros we're using don't ship ansible 2.
Signed-off-by: Zack Cerza <zack@redhat.com>
# repo to be useful
power_user: poweruser
power_pass: powerpass
+
+pip_packages:
+ - pip
+ - ansible
content: "{{ item.data }}"
dest: "{{ item.path }}"
mode: '600'
- with_items: cobbler_keys["{{ ansible_hostname}}"]
+ with_items: cobbler_keys["{{ ansible_hostname }}"]
no_log: true
- name: Include package type specific vars.
- include: apt_systems.yml
when: ansible_pkg_mgr == "apt"
+- include: pip.yml
+ tags:
+ - pip
+
- name: Start cobbler
service:
name: "{{ cobbler_service }}"
- syslinux
- python-pykickstart
- fence-agents
- - ansible
- nmap
+ - python-pip
- syslinux
- pykickstart
- fence-agents-all
- - ansible
- nmap
+ - python-pip
+ - python2-crypto