Created
September 1, 2017 02:59
-
-
Save trainman419/f0bf0532fd0105c59f27c6ac0b09257d to your computer and use it in GitHub Desktop.
Ansible apt marking bug.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
tasks: | |
- block: | |
- name: "install_parent" | |
apt: | |
name: "{{ item }}" | |
install_recommends: no | |
state: present | |
with_items: | |
"libcaca-dev" | |
- name: "install_child" | |
apt: | |
name: "{{ item }}" | |
install_recommends: no | |
state: present | |
with_items: | |
"libslang2-dev" | |
- name: "uninstall_parent" | |
apt: | |
name: "{{ item }}" | |
install_recommends: no | |
state: absent | |
autoremove: yes | |
purge: yes | |
with_items: | |
"libcaca-dev" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment