public function modulelist(string $roleName = ''): AnsibleGalaxyInterface
    {
        $this->addBaseoption('list');

        if ('' !== $roleName) {
            $this->addBaseoption($roleName);
        }

        return $this;
    }
public function modulelist(string $roleName = ''): AnsibleGalaxyInterface
    {
        $this->addBaseoption('list');

        if ('' !== $roleName) {
            $this->addBaseoption($roleName);
        }

        return $this;
    }
public function modulelist ( string $ roleName = '' ) : AnsibleGalaxyInterface { $ this -> addBaseoption ( 'list' ) ; if ( '' !== $ roleName ) { $ this -> addBaseoption ( $ roleName ) ; } return $ this ; }
Get a list of installed modules.

@param string $roleName
@return AnsibleGalaxyInterface
Get a list of installed modules .