Remove unused variable and handlers
The variable repo_auto_rebuild appears to have been introduced in kilo, but never used. The 'Init reload' handler is no longer required as all services are now managed via systemd and the service module. The 'reload ssh' handler is also unused. Change-Id: I1078ff7d2bd1acd0d1cea90fb90bc632386f0daf
This commit is contained in:
parent
14482a4dfa
commit
6eb316499f
|
@ -31,8 +31,6 @@ repo_service_home_folder: /var/www
|
|||
repo_service_user_name: nginx
|
||||
repo_service_group_name: www-data
|
||||
|
||||
repo_auto_rebuild: false
|
||||
|
||||
# If you want to regenerate the repo users SSH keys, on each run, set this var to True
|
||||
# Otherwise keys will be generated on the first run and not regenerated each run.
|
||||
repo_recreate_keys: False
|
||||
|
|
|
@ -13,9 +13,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Init reload
|
||||
command: "initctl reload-configuration"
|
||||
|
||||
- name: reload nginx
|
||||
service:
|
||||
name: "nginx"
|
||||
|
@ -34,11 +31,6 @@
|
|||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: reload ssh
|
||||
service:
|
||||
name: "ssh"
|
||||
state: restarted
|
||||
|
||||
- name: reload lsyncd
|
||||
service:
|
||||
name: "lsyncd"
|
||||
|
|
Loading…
Reference in New Issue