version: 0.0 os: linux files: - source: / destination: /var/www/html except: owner: ubuntu group: ubuntu permissions: - object: /var/www/html owner: ubuntu group: ubuntu mode: 755 type: - directory - object: /var/www/html owner: ubuntu group: ubuntu type: - file hooks: BeforeInstall: - location: scripts/install_codedeployment timeout: 40 runas: root ApplicationStart: - location: scripts/restart_nginx.sh timeout: 30 runas: root