- name: Créer un fichier HTML sur Ubuntu
hosts: all
become: true
tasks:
-
name: Créer le répertoire pour le fichier HTML file: path: /var/www/html state: directory mode: '0755'
-
name: Créer le fichier index.html avec du contenu HTML copy: dest: /var/www/html/index.html content: | <title>Bienvenue sur Ubuntu</title>
Ceci est une page HTML déployée automatiquement sur Ubuntu.
mode: '0644'
-
Popular repositories Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.