You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
[apache]
|
|
disable_module = a2dismod {{ module_name }}
|
|
disable_site = a2dissite {{ domain_name }}.conf
|
|
enable_module = a2enmod {{ module_name }}
|
|
enable_site = a2ensite {{ domain_name }}.conf
|
|
reload = service apache2 reload
|
|
restart = service apache2 restart
|
|
start = service apache2 start
|
|
stop = service apache2 stop
|
|
test = apachectl configtest
|
|
|
|
[package_install]
|
|
system = apt-get install -y {{ package_name }}
|
|
pip = pip3 install{% if upgrade %} --upgrade{% endif %} --quiet {{ package_name }}
|
|
|
|
[package_remove]
|
|
system = apt-get uninstall -y {{ package_name }}
|
|
pip = pip3 uninstall --quiet {{ package_name }}
|
|
|
|
[system]
|
|
install = apt-get install -y {{ package_name }}
|
|
reboot = reboot
|
|
remove = apt-get uninstall -y {{ package_name }}
|
|
update = apt-get update -y
|
|
upgrade = apt-get upgrade -y
|
|
|
|
[python]
|
|
virtualenv = virtualenv {{ name }}
|
|
install = pip3 install{% if upgrade %} --upgrade{% endif %} --quiet {{ package_name }}
|
|
remove = pip3 uninstall --quiet {{ package_name }}
|
|
|
|
[files]
|
|
append = echo "{{ content }}" >> {{ path }}
|
|
chgrp = chgrp{% if recursive %} -R{% endif %} {{ group }} {{ path }}
|
|
chmod = chmod{% if recursive %} -R{% endif %} {{ owner }} {{ path }}
|
|
chown = chown{% if recursive %} -R{% endif %} {{ mode }} {{ path }}
|
|
copy = cp{% if recursive %} -R{% endif %}{% if overwrite %} -n{% endif %} {{ from_path }} {{ to_path }}
|
|
mkdir = mkdir{% if mode %} -m {{ mode }}{% endif %}{% if recursive %} -p{% endif %} {{ path }}
|
|
move = move {{ from_path }} {{ to_path }}
|
|
rename = move {{ from_path }} {{ to_path }}
|
|
remove = rm{% if force %} -f{% endif %}{% if recursive %} -r{% endif %} {{ path }}
|
|
;rsync = ?
|
|
;scopy = ?
|
|
;sed = ?
|
|
symlink = ln -s{% if force %} -f{% endif %} {{ source }} {{ target }}
|
|
touch = touch {{ path }}
|
|
;write = ?
|
|
|