File tree Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ vault_docker_hub_password: hub_secret
45
45
- Memory 12GB disk 30GB
46
46
- Ansilbe install environments
47
47
- [ Python pip] ( http://pypi.org/project/pip )
48
- - [ RPM Package Manager (RPM)] ( https ://en.wikipedia.org/wiki/RPM_Package_Manager)
48
+ - [ RPM Package Manager (RPM)] ( http ://en.wikipedia.org/wiki/RPM_Package_Manager)
49
49
- [ CentOS 7] ( http://centos.org ) [ iso image] ( http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-2003.iso )
50
50
- Network install source url http://mirror.centos.org/centos/7/os/x86_64/
51
51
- Do not forget to make a user and make user superuser.
52
- - [ Fedora 32 ] ( http://getfedora.org ) [ iso image] ( https ://download.fedoraproject.org/pub/fedora/linux/releases/32 /Server/x86_64/iso/Fedora-Server-netinst-x86_64-32 -1.6 .iso)
52
+ - [ Fedora 31 ] ( http://getfedora.org ) [ iso image] ( http ://download.fedoraproject.org/pub/fedora/linux/releases/31 /Server/x86_64/iso/Fedora-Server-netinst-x86_64-31 -1.9 .iso)
53
53
- [ Red Hat 8.2] ( http://redhat.com ) @todo untested
54
54
- [ Advanced Package Tool (APT)] ( http://en.wikipedia.org/wiki/APT_(software) )
55
- - [ Debian 10] ( http://debian.org ) [ iso image] ( https ://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso)
56
- - [ Ubuntu focal] ( http://ubuntu.com ) [ iso image] ( https ://releases.ubuntu.com/20.04/ubuntu-20.04-live-server-amd64.iso)
55
+ - [ Debian 10] ( http://debian.org ) [ iso image] ( http ://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso)
56
+ - [ Ubuntu focal] ( http://ubuntu.com ) [ iso image] ( http ://releases.ubuntu.com/20.04/ubuntu-20.04-live-server-amd64.iso)
57
57
58
58
There are shell Ansible install scripts in this projects [ bin directory] ( http://github.com/noud/elasticsearch-docker-ansible/tree/master/bin ) .
59
59
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+
3
+ sudo dnf install -y ansible
Original file line number Diff line number Diff line change
1
+ # @todo centos check ansible_distribution_major_version
1
2
os_version : " {{ distribution_major_version }}"
2
3
os_packages :
3
4
- gcc
Original file line number Diff line number Diff line change
1
+ # os_version: "{{ ansible_distribution_major_version }}"
2
+ os_version : 31
Original file line number Diff line number Diff line change
1
+ Debian.yml
Original file line number Diff line number Diff line change 2
2
user : super_user
3
3
become : yes
4
4
vars_files :
5
- - [ "group_vars/all/{{ ansible_facts['os_family '] }}.yml" ]
5
+ - [ "group_vars/all/{{ ansible_facts['distribution '] }}.yml" ]
6
6
7
7
roles :
8
8
- role : packages
9
9
- role : packages_os
10
+ when : ansible_facts['distribution'] != 'Fedora'
10
11
11
12
- role : pip
12
13
You can’t perform that action at this time.
0 commit comments