view tasks/install-httpd.yml @ 0:10185cc821e4

add
author k178572
date Wed, 20 Sep 2017 18:12:15 +0900
parents
children
line wrap: on
line source

    - name: install dnf packages
      become: yes
      dnf: name={{ item }} state=latest
      with_items:
      - httpd

    # start httpd
    - service: name=httpd state=restarted
      become: yes  

    # chkconfig enabled httpd 
    - service: name=httpd enabled=yes
      become: yes