Created
August 17, 2019 10:30
-
-
Save msato0731/663cc50c97da4b963a48cf79bb2b17c4 to your computer and use it in GitHub Desktop.
ansible amazon-extras
This file contains hidden or 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: all | |
become: yes | |
tasks: | |
- name: Enable to install PHP. | |
shell: "amazon-linux-extras enable php7.3" | |
changed_when: False | |
- name: Install PHP. | |
yum: | |
name: php | |
enablerepo: amzn2extra-php7.3 | |
state: present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment