added some ansible playbooks for experiments
This commit is contained in:
23
ansible-playbooks/get-m4.yml
Normal file
23
ansible-playbooks/get-m4.yml
Normal file
@ -0,0 +1,23 @@
|
||||
- hosts: all
|
||||
remote_user: hyung-hwan
|
||||
tasks:
|
||||
- name: Download GNU m4-1.14-19
|
||||
get_url:
|
||||
url=https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz
|
||||
dest=/tmp/m4-1.14-19.tar.gz force=no
|
||||
|
||||
- name: Untar m4
|
||||
unarchive:
|
||||
src: /tmp/m4-1.14-19.tar.gz
|
||||
dest: /tmp/
|
||||
remote_src: yes
|
||||
|
||||
- name: Delete the m4 file downloaded
|
||||
file:
|
||||
path=/tmp/m4-1.14-19.tar.gz
|
||||
state=absent
|
||||
|
||||
- name: Delete the m4 directory
|
||||
file:
|
||||
path=/tmp/m4-1.4.19/
|
||||
state=absent
|
Reference in New Issue
Block a user