public function digipolisInitDrupal8Remote(
        $server,
        $user,
        $privateKeyFile,
        $opts = [
            'app' => 'default',
            'site-name' => 'Drupal',
            'profile' => 'standard',
            'force-install' => false,
            'config-import' => false,
            'existing-config' => false,
        ]
    ) {
        $remote = $this->getRemoteSettings($server, $user, $privateKeyFile, $opts['app']);
        $auth = new KeyFile($user, $privateKeyFile);
        return $this->initRemoteTask($privateKeyFile, $auth, $remote, $opts, $opts['force-install']);
    }
public function digipolisInitDrupal8Remote(
        $server,
        $user,
        $privateKeyFile,
        $opts = [
            'app' => 'default',
            'site-name' => 'Drupal',
            'profile' => 'standard',
            'force-install' => false,
            'config-import' => false,
            'existing-config' => false,
        ]
    ) {
        $remote = $this->getRemoteSettings($server, $user, $privateKeyFile, $opts['app']);
        $auth = new KeyFile($user, $privateKeyFile);
        return $this->initRemoteTask($privateKeyFile, $auth, $remote, $opts, $opts['force-install']);
    }
public function digipolisInitDrupal8Remote ( $ server , $ user , $ privateKeyFile , $ opts = [ 'app' => 'default' , 'site-name' => 'Drupal' , 'profile' => 'standard' , 'force-install' => false , 'config-import' => false , 'existing-config' => false , ] ) { $ remote = $ this -> getRemoteSettings ( $ server , $ user , $ privateKeyFile , $ opts [ 'app' ] ) ; $ auth = new KeyFile ( $ user , $ privateKeyFile ) ; return $ this -> initRemoteTask ( $ privateKeyFile , $ auth , $ remote , $ opts , $ opts [ 'force-install' ] ) ; }
Install or update a drupal 8 remote site.

@param string $server
The server to install the site on.
@param string $user
The ssh user to use to connect to the server.
@param string $privateKeyFile
The path to the private key file to use to connect to the server.
@param array $opts
The options for this command.

@option app The name of the app we're deploying. Used to determine the
directory in which the drupal site can be found.
@option site-name The Drupal site name in case we need to install it.
@option profile The machine name of the profile we need to use when
installing.
@options force-install Force a new isntallation of the Drupal8 site. This
will drop all tables in the current database.
@option config-import Import configuration after updating the site.
@option existing-config Install the site from existing configuration.

@usage --app=myapp --profile=myprofile --site-name='My D8 Site' 10.25.2.178 sshuser /home/myuser/.ssh/id_rsa
Install or update a drupal 8 remote site .