運行我有一個簡單Centos6碼頭工人像一個簡單的Centos的圖像: FROM centos:6
MAINTAINER Simon 1905 <[email protected]>
RUN yum -y update && yum -y install httpd && yum clean all
RUN sed -i "s/Listen 80/Listen 8080/" /etc/htt
運行後,下面的Ansible YAML文件中的輸出顯示文件被創建和內容發生變化 的YAML文件 ---
- hosts: all
gather_facts: yes
connection: local
tasks:
- name: Check the date on the server.
action: command touch /opt/