mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
This commit is contained in:
parent
2968a8a20e
commit
ca171fbc1c
158 changed files with 2072 additions and 2072 deletions
|
|
@ -30,7 +30,7 @@
|
|||
package:
|
||||
name: iptables-persistent
|
||||
state: present
|
||||
when: is_debuntu | bool
|
||||
when: is_debuntu
|
||||
|
||||
- name: Install package iptables-services (OS's other than debuntu)
|
||||
package:
|
||||
|
|
@ -51,4 +51,4 @@
|
|||
src: iptables
|
||||
dest: /etc/network/if-pre-up.d/iptables
|
||||
mode: '0755'
|
||||
when: is_debuntu | bool
|
||||
when: is_debuntu
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
- xml-common
|
||||
- yum-utils
|
||||
state: present
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: "Install 6 deb/apt packages: avahi-daemon, exfat-fuse, exfat-utils, inetutils-syslogd, libnss-mdns, wpasupplicant (debuntu)"
|
||||
package:
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
- libnss-mdns
|
||||
- wpasupplicant
|
||||
state: present
|
||||
when: is_debuntu | bool
|
||||
when: is_debuntu
|
||||
|
||||
- name: "Install 23 common packages: acpid, bridge-utils, bzip2, curl, gawk, hostapd, htop, i2c-tools, logrotate, make, mlocate, netmask, net-tools, ntfs-3g, pandoc, pastebinit, rsync, sqlite3, sudo, tar, unzip, usbutils, wget"
|
||||
package:
|
||||
|
|
|
|||
|
|
@ -13,18 +13,18 @@
|
|||
- name: get the createrepo program
|
||||
package: name=createrepo
|
||||
state=present
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: Create local repo
|
||||
shell: createrepo {{ yum_packages_dir }}
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: Install local repo file.
|
||||
template: dest=/etc/yum.repos.d/iiab-local.repo
|
||||
src=local.repo
|
||||
owner=root
|
||||
mode=0644
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: Install yum packages
|
||||
package: name={{ item }}
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
- linux-firmware
|
||||
- syslog
|
||||
- xml-common
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: Install yum packages for Debian
|
||||
package: name={{ item }}
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
with_items:
|
||||
- inetutils-syslogd
|
||||
- wpasupplicant
|
||||
when: is_debuntu | bool
|
||||
when: is_debuntu
|
||||
|
||||
- name: Install common packages
|
||||
package: name={{ item }}
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
- glibc # CVE-2015-7547
|
||||
- bash
|
||||
- iptables
|
||||
when: is_redhat | bool
|
||||
when: is_redhat
|
||||
|
||||
- name: Update common packages (debian)
|
||||
package: name={{ item }}
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
- libc6
|
||||
- bash
|
||||
- iptables
|
||||
when: is_debuntu | bool
|
||||
when: is_debuntu
|
||||
|
||||
|
||||
# instuctions state to start with a fully updated system before starting, stop using
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue