Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package versions for CentOS8 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ common_user_ps1: '${BLUE}(${RED}\w${BLUE}) ${NORMAL}\h ${RED}\\$ ${NORMAL}'
common_virtualbox_dist_dir: /opt/virtualbox

common_aws_cli_enable: true
common_aws_cli_version: 2.0.50
common_aws_cli_version: 2.1.24

common_additional_admin_users: []
24 changes: 18 additions & 6 deletions tasks/python.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
---

- name: Install Python utilities
#- name: Install Python utilities
# package:
# name:
# - python-virtualenv
# # NOTE: python-ipython-console package provides IPython for running in a
# # terminal and requires far less dependencies than the python-ipython
# # package which provides the full IPython.
# - python-ipython-console
# state: present

- name: Install Python utilities for CentOS8
package:
name:
- python-virtualenv
- python2-virtualenv
# NOTE: python-ipython-console package provides IPython for running in a
# terminal and requires far less dependencies than the python-ipython
# package which provides the full IPython.
- python-ipython-console
- python3-ipython
state: present


#- name: Install Python 3.4
# package: name=python34 state=present
# when: common_python3_enabled

- name: Install Python 3.4
package: name=python34 state=present
when: common_python3_enabled

- name: Install Python 3.6
package: name=python36 state=present
Expand Down
23 changes: 20 additions & 3 deletions tasks/sys_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,29 @@
- screen
- vim
- wget
- ntp
#- ntp
- unzip
- telnet
state: present

- name: Ensure ntp is enabled and started
service: name=ntpd enabled=yes state=started
#- name: Install basic system packages
# package:
# name:
# - ntp
# state: present
#
#- when: ansible_distribution == "CentOS"

- name: Install NTP package
package:
name:
- chrony
state: present

when: ansible_distribution == "CentOS8"

#- name: Ensure ntp is enabled and started
# service: name=ntpd enabled=yes state=started

- name: Install firewalld
package: name=firewalld state=present
Expand Down