Change in task using python not php
This commit is contained in:
parent
e4410d0421
commit
7a0b0abbdb
2 changed files with 3 additions and 2 deletions
|
|
@ -4,4 +4,5 @@ description=Install CVS servers
|
||||||
|
|
||||||
[modules]
|
[modules]
|
||||||
gitea/gitea=Install Gitea
|
gitea/gitea=Install Gitea
|
||||||
|
forgejo/forgejo=Install Forgejo
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ class ServerTask(Task):
|
||||||
self.files.append(['modules/pastafari2/scripts/system/install_composer.sh', 0o755])
|
self.files.append(['modules/pastafari2/scripts/system/install_composer.sh', 0o755])
|
||||||
#self.files.append(['modules/pastafari2/scripts/system/install_unixutils.sh', 0o755])
|
#self.files.append(['modules/pastafari2/scripts/system/install_unixutils.sh', 0o755])
|
||||||
self.files.append(['modules/pastafari2/scripts/system/sudoers.d/spanel', 0o640])
|
self.files.append(['modules/pastafari2/scripts/system/sudoers.d/spanel', 0o640])
|
||||||
self.files.append(['modules/pastafari2/scripts/system/install_leviathanutils.py', 0o755])
|
self.files.append(['modules/pastafari2/scripts/system/install_pastafariutils.py', 0o755])
|
||||||
|
|
||||||
self.files.append([self.data['pub_key'], 0o600])
|
self.files.append([self.data['pub_key'], 0o600])
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ class ServerTask(Task):
|
||||||
|
|
||||||
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_pzoo_stats.py', '--user='+self.data['ssh_user']+' --pub_key='+self.data['pub_key']+' --group="'+self.data['group_name']+'" --path='+remote_path])
|
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_pzoo_stats.py', '--user='+self.data['ssh_user']+' --pub_key='+self.data['pub_key']+' --group="'+self.data['group_name']+'" --path='+remote_path])
|
||||||
|
|
||||||
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_leviathanutils.py', '--user='+self.data['ssh_user']])
|
self.commands_to_execute.append(['modules/pastafari2/scripts/system/install_pastafariutils.py', '--user='+self.data['ssh_user']])
|
||||||
|
|
||||||
def post_task(self):
|
def post_task(self):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue